import java.sql.ResultSet;
import java.sql.SQLException;


public class Employee {
	private int employeeId;
	private String name;
	public Employee(ResultSet rs) throws SQLException {
		setEmployeeId(rs.getInt("employee_id"));
		setName(rs.getString("name"));
	}
	public void setEmployeeId(int employeeId) {
		this.employeeId = employeeId;
	}
	public int getEmployeeId() {
		return employeeId;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getName() {
		return name;
	}
}
